package com.cybertron.am.wordpress.job;

import com.cybertron.am.wordpress.domain.CrawlCategory;
import com.cybertron.am.wordpress.domain.CrawlProduct;

import java.util.List;

public interface Parser {
    String domain();

    List<CrawlCategory> getCategory(CrawlResult crawlResult);

    List<String> getProductUrl(CrawlResult crawlResult);

    List<String> getNextPageUrl(CrawlResult crawlResult);

    CrawlProduct getProduct(CrawlResult crawlResult);
}
